﻿using Basic.FormModel.DB;
using Basic.FormModel.UserRecord;

namespace Basic.FormCollect
{
    public interface IUserFormRecordCollect
    {
        UserRecord Find ( long formId, string linkType, long linkPk );
        void Delete ( long id );
        UserRecordDto Sync ( UserRecordAdd record );
        long FindRecordId ( long formId, string linkType, long linkPk );
        bool CheckIsNull ( long formId, string linkType, long linkPK );
        DBUserFormRecord Get ( long id );
    }
}